# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-prometheus-client
pkgver=0.14.1
pkgrel=0
pkgdesc="Python3 client for the Prometheus monitoring system"
url="https://github.com/prometheus/client_python"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-twisted"
makedepends="python3-dev py3-setuptools"
options="!check" # Pypi tarballs come without tests
source="https://pypi.io/packages/source/p/prometheus_client/prometheus_client-$pkgver.tar.gz"
builddir="$srcdir/prometheus_client-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
3ba1389f23566ecab1371452ec717e06c4e444d1ac8a37cb27429493e64f3931e6876734c0947cb43ba086ed51ca47a0c7764d488ea6e7f2d0864447f49b09e4  prometheus_client-0.14.1.tar.gz
"
